package com.by.zhdoctor.config;

/**
 * Application constants.
 */
public final class Constants {

    //Regex for acceptable logins
    public static final String LOGIN_REGEX = "^[_'.@A-Za-z0-9-]*$";
    // Spring profiles for development, test and production, see http://jhipster.github.io/profiles/
    public static final String SPRING_PROFILE_DEVELOPMENT = "dev";
    public static final String SPRING_PROFILE_TEST = "test";
    public static final String SPRING_PROFILE_PRODUCTION = "prod";
    // Spring profile used when deploying with Spring Cloud (used when deploying to CloudFoundry)
    public static final String SPRING_PROFILE_CLOUD = "cloud";
    // Spring profile used when deploying to Heroku
    public static final String SPRING_PROFILE_HEROKU = "heroku";
    // Spring profile used to disable swagger
    public static final String SPRING_PROFILE_SWAGGER = "swagger";
    // Spring profile used to disable running liquibase
    public static final String SPRING_PROFILE_NO_LIQUIBASE = "no-liquibase";

    public static final String SYSTEM_ACCOUNT = "system";

    public static final String TELACCOUNT = "cf_1190";

    public static final String TELPASSWORD = "e10adc3949ba59abbe56e057f20f883e";
    //环信管理员Token
    public static String TOKEN = "YWMtblyPbrU6Eea6NEPVf3h7LgAAAAAAAAAAAAAAAAAAAAEsdw1Qhq4R5r53t2W-noaQAgMAAAFYqcnNFgBPGgCKE932hjCMKfGvBEOV2zMO0qepMlNGFZmivBNdA2wY4A";
    //环形消息记录文件本地存储路径
    public static final String Savepath="/config/message-history/";

    //消息记录文件上传hdfs地址
    public static final String UPFILEURL="/zhdoctor/zhdoctor01/messageHistory";
    //日志记录文件上传hdfs地址
    public static final String UPLOGSFILEURL="/zhdoctor/zhdoctor01/logs";
    //本地日志目录路径 打包部署前需修改 如果部署到tomcat则改为tomcat工作目录下的logs文件夹 如果使用指令部署则改为项目当前所在目录下的logs目录
    public static final String LOCALLOGSFILEURL="C:/Program Files (x86)/Apache Software Foundation/Tomcat 9.0/logs";
    //正和医生用户组名称：
    public static final String TEAMNAME="zhdoctor";
    //正和医生用户组管理员名称：
    public static final String TEAMMANAGER="zhdoctor_manager";
    //正和医生hdfs账号
    public static final String LOGIN="admin";
    //正和医生hdfs账号密码
    public static final String PW="123456";

    private Constants() {
    }
}
